<%@page contentType="text/html; charset=UTF-8" %>
<%@ page import="java.util.*" %>

<style>
<!--
	body{text-align: center;}
	div{margin-left: auto;margin-right: auto;}
	.msgthead{
		border:1px solid #8ACE05;
		border-collapse: collapse;
	}
	.msgthead thead th{
		border:1px solid #8ACE05;
		background:url(../images/main_23.gif);
		text-align:left;
		padding-left: 2px; 
	} 
	.msgthead thead th b{
		width:30px;
		height:20px;
		padding-top:4px;
		background:url(../images/ico_xtxx.gif) no-repeat;
	}
	.msgthead tbody td{
		color:red;
		font-size:12px;
		padding:10px 0px 0px 20px;
	}
-->
</style>
<br/><br/><br/><br/><br/>
<table class="msgthead" width="300" height="200">
	<thead>
		<tr>
			<th height="30"><b></b>提示信息！</th>
		</tr>
	</thead>
	<tbody>
		<tr>
			<td valign="top">
				<%
					List messages = (List)session.getAttribute("messages");
					session.removeAttribute("messages");
					if(messages != null && !messages.isEmpty()){
						for(int i=0;i<messages.size();i++){
							String message = (String)messages.get(i);
							out.print("<font color=red><li>" + message + "</li></font>");
						}
					}
				%>
			</td>
		</tr>
	</tbody>
</table>


